#pragma once


// CNumberEdit
#include "BaseEdit.h"
class CNumberEdit : public CBaseEdit
{
	DECLARE_DYNAMIC(CNumberEdit)

public:
	CNumberEdit();
	virtual ~CNumberEdit();

protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnEnChange();
	void setRange(long min,long max);
	long getValue();
	void setValue(long val);
private:
	long min;
	long max;
public:
	afx_msg void OnEnSetfocus();
};


